package org.example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author limeng
 * @create 2021-05-25 17:18
 */
@FeignClient("PRODUCTS")
public interface ProductClient {

    @GetMapping("/product/test/{id}")
    public String test(@PathVariable("id") Integer id);
}
